package CGLIB;

import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.cglib.proxy.MethodProxy;

import java.lang.reflect.Method;

/**
 * @author KiraYous
 * @version V1.0
 * @Package CGLIB
 * @date 2021/9/16 16:15
 * 增强器，实际上你也可以让proxy类实现这个接口，为了方便我们拆开
 */
public class MyMethodsInteceptor implements MethodInterceptor {
    @Override
    public Object intercept(Object o, Method method, Object[] objects, MethodProxy methodProxy) throws Throwable {
        return null;
    }
}
